package com.skytech.tax.customsdatawarehouse.singlewindow.taxhandle.domain.entity;

import com.alibaba.fastjson.JSONObject;
import org.joda.time.DateTime;

/**
 * @author Lianhong
 * @since 2022/4/19
 */
public class TaxBillGoods {

    private String taxHeadSeqNo;
    private String taxBillGoods;
    private String socialCreditCode;
    private String storageTime;

    public TaxBillGoods() {
    }

    public TaxBillGoods(String taxHeadSeqNo, JSONObject taxBillGoods, String socialCreditCode) {
        this.taxHeadSeqNo = taxHeadSeqNo;
        this.taxBillGoods = taxBillGoods.toJSONString();
        this.socialCreditCode = socialCreditCode;
        this.storageTime = DateTime.now().toString("yyyy-MM-dd HH:mm:ss");
    }

    public String getTaxHeadSeqNo() {
        return taxHeadSeqNo;
    }

    public void setTaxHeadSeqNo(String taxHeadSeqNo) {
        this.taxHeadSeqNo = taxHeadSeqNo;
    }

    public String getTaxBillGoods() {
        return taxBillGoods;
    }

    public void setTaxBillGoods(String taxBillGoods) {
        this.taxBillGoods = taxBillGoods;
    }

    public String getSocialCreditCode() {
        return socialCreditCode;
    }

    public void setSocialCreditCode(String socialCreditCode) {
        this.socialCreditCode = socialCreditCode;
    }

    public String getStorageTime() {
        return storageTime;
    }

    public void setStorageTime(String storageTime) {
        this.storageTime = storageTime;
    }
}
